package com.chc.web.borrow.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chc.web.borrow.entity.Borrow;
import com.chc.web.borrow.entity.BorrowParm;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created with IntelliJ IDEA
 *
 * @Author: chc
 * @Date: 2022/04/22/17:43
 * @Description:
 */
public interface BorrowService extends IService<Borrow> {

    int addBorrow(List<Borrow> borrow);

    //查看借阅列表
    IPage<BorrowParm> getBorrowLook(BorrowParm parm);
    //查询已通过审核的图书
    IPage<BorrowParm> getReturnBook(BorrowParm parm);

}
